Run (or Hold) with the hare and hunt (or run) with the hounds.
两面讨好。
There has long been a superstition among mariners that porpoises will save drowning men by pushing them to the surface, or protect them from sharks by surrounding them in defensive formation.